home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Apple II Sample Code / Sample Code Notes (MPW) / SCN.008.List.Line.Edit < prev    next >
Encoding:
Text File  |  1990-06-24  |  2.0 KB  |  45 lines  |  [TEXT/MPS ]

  1. Apple II
  2. Sample Code Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6. #8:    List.Line.Edit
  7.  
  8. Version:    3.0                                                     June 1990
  9.  
  10. APW Components:    Lists.asm
  11.                    Lists.Inits.asm
  12.                    Full.Build
  13.                    Build
  14.                    Build.Macros 
  15.  
  16. MPW Components:    Lists.Aii
  17.                    Lists.Inits.Aii
  18.                    MakeFile
  19.  
  20. This sample program illustrates how to handle lists and line editing in an 
  21. Apple IIGS application.  It shows how to call most List Manager and LineEdit 
  22. procedures in 65816 assembly language, as well as how to handle events 
  23. relating to both tool sets.  It also performs several operations within dialog 
  24. boxes, such as placing controls in a window without using the Dialog Manager.  
  25. This is the only sample program from DTS which currently supports Edit menu 
  26. items Cut, Copy, Paste, and Clear.
  27. _____________________________________________________________________________
  28.  
  29. The demonstration generates a window containing a user-definable list, a box 
  30. for creating a new list entry, and several buttons for manipulating the list:  
  31. New Entry, Remove, Replace, UnHilite, and Sort.  LineEdit tools are used to 
  32. create and edit a new line for the list in response to keyboard and mouse 
  33. events, while List Manager tools are used to create and update the list in 
  34. response to clicking on a line or a button.  Sorting is done in reverse order 
  35. to demonstrate a custom sort routine.
  36.  
  37. APW users need APW v.1.0, APW Tools & Interfaces v.1.1, and Apple IIGS System 
  38. Software 5.0.2 or later.  Three APW command files, Full.Build, Build, and 
  39. Build.Macros allow you to perform complete or partial rebuilds of the load 
  40. file Lists.
  41.  
  42. MPW IIGS users need MPW v.3.0, MPW IIGS Tools v.1.1, and MPW IIGS Assembler 
  43. v.1.0 or later.  The name needed by the MPW Build menu's Build option can be 
  44. found in the MakeFile.
  45.